| Previous | Chapter contents | Chapter top | Section top | Next |
You can use the QTVRSetInteractionProperty function to set the value of an interaction property.
OSErr QTVRSetInteractionProperty (
QTVRInstanceqtvr,
UInt32 property,
void*value);
The QTVRSetInteractionProperty function sets the value of the interaction property of the type specified by the property parameter for the movie specified by the qtvr parameter to the value specified by the value parameter. For types that occupy 32 or fewer bits of memory, you pass the desired value itself (cast to a void * ) in the value parameter. For structures and floating-point values, you must pass a pointer to the desired value in the value parameter.
Floating-point values are usually stored as 32-bit values, but compilers differ in how they pass floating-point values as parameters; as a result, QTVRSetInteractionProperty demands that floating-point values always be passed by reference.
Use QTVRGetInteractionProperty [link] to get an interaction property.
| Previous | Chapter contents | Chapter top | Section top | Next |